678fcbc475366d273ad6779c792c2064ce1e896c,library/src/main/java/com/digi/xbee/api/packet/network/RXIPv4Packet.java,RXIPv4Packet,createPacket,#number[]#,73
Before Change
int index = 1;
// 4 bytes of IP 32-bit source address.
IP32BitAddress sourceAddress = new IP32BitAddress(Arrays.copyOfRange(payload, index, index + 4));
index = index + 4;
// 2 bytes of destination port.
After Change
// 4 bytes of IP source address.
Inet4Address sourceAddress;
try {
sourceAddress = (Inet4Address) Inet4Address.getByAddress(Arrays.copyOfRange(payload, index, index + 4));
} catch (UnknownHostException e) {
throw new IllegalArgumentException(e);
}